import unittest
from log_email import send_email
from BeautifulReport import BeautifulReport

suite = unittest.defaultTestLoader.discover(start_dir='./',pattern='test_A3mall.py')
report = BeautifulReport(suite)
report.report(description='A3mall购物车业务测试报告',filename='7.5test_report.html',log_path='.')
# 发送邮箱
send_email(['7.5test_report.html'])